package org.example.entity.whlgd;

import lombok.Data;

import java.util.ArrayList;


@Data
public class Role {
    private String id;
    private String name;
    private Boolean open;
    private Boolean iconOpen;
    private Boolean iconClose;
    private Boolean  isParent ;

    private String value;

    private RoleAttribute attributes;

    private ArrayList children;

    @Override
    public String toString() {
        return "Role{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", open=" + open +
                ", iconOpen=" + iconOpen +
                ", iconClose=" + iconClose +
                ", isParent=" + isParent +
                ", value='" + value + '\'' +
                ", attributes=" + attributes +
                ", children=" + children +
                '}';
    }


    //    {"id":"JWXW","name":"教务学位","open":false,"iconOpen":false,"iconClose":false,"isParent":true,"value":"","attributes":{"pkValue":5283,"type":"1"},"children":[]}
}
